package com.yuntai.pms.model.dto.system;

import com.alibaba.fastjson.JSON;
import com.yuntai.pms.model.param.PageParam;

import java.util.Date;

/**
 * @ClassName: UserQueryDto
 * @Description:分页数据查询参数
 * @author caijg@hsyuntai.com
 * @date 2017年8月28日 下午5:02:05
 */
public class UserQueryDto extends PageParam {

	private static final long serialVersionUID = 3992986942066147568L;

	private Long id;

    private String username;
    
    private Long phoneNo;

    private String email;

    private String nickName;

    private Boolean enabled;

    private String ipAddress;

    private String userAgent;

    private Byte terminalType;
    
    private Date createTime;
    
    private Date updateTime;
    
    private String createTimeStart; 
    
    private String createTimeEnd;	

    private String updateTimeStart;

    private String updateTimeEnd;  
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(Long phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public Byte getTerminalType() {
		return terminalType;
	}

	public void setTerminalType(Byte terminalType) {
		this.terminalType = terminalType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreateTimeStart() {
		return createTimeStart;
	}

	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}

	public String getCreateTimeEnd() {
		return createTimeEnd;
	}

	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getUpdateTimeStart() {
		return updateTimeStart;
	}

	public void setUpdateTimeStart(String updateTimeStart) {
		this.updateTimeStart = updateTimeStart;
	}

	public String getUpdateTimeEnd() {
		return updateTimeEnd;
	}

	public void setUpdateTimeEnd(String updateTimeEnd) {
		this.updateTimeEnd = updateTimeEnd;
	}
    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
